<!DOCTYPE html>
<html xmlns:py="http://genshi.edgewall.org/" py:strip="">

  <title py:match="head/title">${project.get_name()}: ${select('text()')}</title>

  <!--! Add navigation and footer around content -->
  <div py:match="div[@class='document']" py:attrs="select('@*')">
    <div id="navigation">
      <span class="projinfo">${project.get_name()} ${project.get_version()}</span>
      <a href="index.html">Documentation Index</a>
    </div>
    ${select('*|text()')}
    <div id="footer">
      Visit the ${project.get_name()} open source project at
      <a href="${project.get_url()}">${project.get_url()}</a>
    </div>
  </div>

  $html

</html>
